package com.example.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@AllArgsConstructor
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain=true)
/*
  验证码实体类
 */
public class CodeInfo {
    //id自动递增
    @TableId(type = IdType.AUTO)
    private int id;
    private String codeNumber;
    private int roleFlag;
    private int isuse;
    private Date createTime;
}
